package graduation.dao;

import java.util.List;

import graduation.entity.Apply;
import graduation.entity.User;

public interface ApplyDao {
	
	public void addApply(Apply apply);

	public Apply findById(Integer id);

	public void update(Apply apply);

	public List<Apply> findBySender(String sender);

	public List<Apply> findByReceiver(String receiver);

	public List<Apply> getMyApplyByStatus(String sender, Boolean dealStatus);

	public List findByUserId(String userId);

	public void delApplyById(int applyId);


}
